Learning CoreDNS by Cricket Liu & John Belamaric

Learning CoreDNS by Cricket Liu & John Belamaric

Author:Cricket Liu & John Belamaric [Cricket Liu]
Language: eng
Format: epub
Publisher: O'Reilly Media, Inc.
Published: 2019-09-08T16:00:00+00:00


Reload Can Be Dangerous

Be sure to test any changes in a lab or duplicate deployment first! If there is a syntax error in the Corefile, CoreDNS will log an error and continue to serve with the original Corefile. If the CoreDNS pod is killed or later rescheduled to another node, the newly started process will read the erroneous Corefile and be unable to start.

Finally, the loadbalance directive enables the loadbalance plug-in, which simply randomly shuffles A/AAAA records in the response. When using headless services, this means that different clients will receive the records in a different order. Because many clients simply take the first IP returned, this helps spread the load across all instances.

That covers the essential configuration of CoreDNS for Kubernetes. For clarity, we did omit a few details, in particular about configuring stub domains and federations. These are covered in the next section.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.